package com.itheima;

/**
 * 2025/4/12 9:22
 * javabean
 */
public class Movie {
    private int id;
    private String name;
    private double price;

    public Movie() {
    }

    public Movie(int id, String name, double price) {
        this.id = id;
        this.name = name;
        this.price = price;
    }
    //alt+insert
    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }
}
